import { Controller, Get, Logger, Param } from '@nestjs/common';

@Controller('demo')
export class DemoController {
    private readonly logger = new Logger();
    constructor() {}

    @Get(':id/:name')
    demo(@Param('id') id: number) {
        this.logger.debug(id);
        return 1;
    }
}
